package org.lee.controller;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/")
public class WebController {

	private final static Logger log = LoggerFactory.getLogger(WebController.class);
	
	@RequestMapping({"", "index"})
	public String index(){
		log.info("requested index page");
		return "index";
	}
}
